package com.ipzoe.app.dto;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotBlank;

@Data
@ApiModel(value = "用户/会员信息修改入参")
public class MemberInfoDTO {

    @NotBlank(message = "用户id不能为空")
    @ApiModelProperty(value = "用户id")
    private Long id;

    @ApiModelProperty(value = "手机号")
    private String mobile;

    @ApiModelProperty(value = "昵称")
    private String nickname;

    @ApiModelProperty(value = "头像图片")
    private String avatar;

    @ApiModelProperty(value = "性别")
    private Integer sex;
}
